#include <stdio.h>
#include <stdlib.h>


	union
	{
		struct
		{
			char a:1;
			char b:2;
			char c:1;
		}x;
		char y;
	}w;

	int main()
{
//	w.y = 4;	//-2
//	w.y = 2;	//1
	w.y = 6;	//-1
	printf("%d\n",(w.x.b));

	exit(0);
}
